<!DOCTYPE html>
<html id="root" lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <base href=""/>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>异常页面</title>
    <link type="text/css" rel="stylesheet" href="./css/style.css" media="screen"/>
    <link type="text/css" rel="stylesheet" href="./css/weui.min.css" media="screen"/>
    <script type='text/javascript' src='./js/jquery-1.10.2.min.js'></script>
    <script type='text/javascript' src='./js/screen.js'></script>
</head>
<body>
<div class="container">
    <div class="topup-page">
        <div class="message">
            <p id="message" class="red">操作异常，访问受限，请联系工作人员！</p>
        </div>
    </div>
</div>
<script th:inline="javascript">
    var error = [[${error}]];
    if (error == "UserNotExist") {
        $("#message").text("暂无访问权限，该用户不存在！");
    } else if (error == "Unsubscribe") {
        $("#message").text("暂无访问权限，未关注公众号！");
    } else if (error == "UserNotEnabled") {
        $("#message").text("暂无访问权限，请联系工作人员！");
    } else if (error == "OpenidNotExist") {
        $("#message").text("微信openid验证失败，请重新尝试！");
    } else if (error == "UuidError") {
        $("#message").text("二维码异常，请刷新二维码重新扫描验证！");
    } else if (error == "Timeout") {
        $("#message").text("二维码过期，请刷新二维码重新扫描验证！");
    } else {
        $("#message").text("操作失败，请重新尝试！");
    }
</script>
</body>
</html>